package day05;

/**
 * @author wangzhisen
 * @Desc TODO
 * @date 2025/4/14
 *
 * //练习1：遍历字符串(获取字符串中的每一个字符)  chenmin@igeekhome.com
 */
public class StringDemo1 {
    public static void main(String[] args) {
        String str= "chenmin@igeekhome.com";
        for (int i=0; i<str.length(); i++){
            System.out.println(str.charAt(i));
        }
    }
}
